#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main() {
    char c;
    scanf("%c", &c);
    if ((c >= 65 && c <= 90) || (c >= 97 && c <= 122))
        printf("YES");
    else
        printf("NO");
    return 0;
}